cuda=0
eps=4
attack_method='origin'
dataset='symmax300'
skeleton_method='hifi'
flag='caffe'

base='/disk/yami/dataset'

declare -A clean_dict
declare -A gt_dict
clean_dict=(
  ['sklarge']=${base}'/sk1491/images/test/'
  ['symmax300']=${base}'/SYMMAX300/images/test/'
  ['sympascal']=${base}'/SymPASCAL/images/test/'
  ['whsymmax']=${base}'/wh-symmax/imgs/test/'
)
gt_dict=(
  ['sklarge']=${base}'/sk1491/groundTruth/test/'
  ['symmax300']=${base}'/SYMMAX300/gt/test/'
  ['sympascal']=${base}'/SymPASCAL/groundTruth/test/'
  ['whsymmax']=${base}'/wh-symmax/gt/test/'
)

clean_dir=${clean_dict[${dataset}]}
gt_dir=${gt_dict[${dataset}]}

attack_adv_dir=${base}'/'${flag}'/adv/'${attack_method}'/gridsearch/'${skeleton_method}'/'${dataset}'/eps_'${eps}'/'
attack_skl_dir=${base}'/'${flag}'/skeleton/'${attack_method}'/gridsearch/'${skeleton_method}'/'${dataset}'/eps_'${eps}'/'
attack_prg_dir=${base}'/'${flag}'/progress/'${attack_method}'/'${skeleton_method}'/'${dataset}'/eps_'${eps}'/'